import { RedisModule } from '@common/reids/redis.module';

import { Module, forwardRef } from '@nestjs/common';
import { HZMJService } from './hzmj.service';
import { CMMJService } from './cmmj.service';
import { RoomModule } from '../room/room.module';
import { SocketModule } from '../socket/socket.module';
import { WebSocketGatewayModule } from '../web-socket.module';
import { MjController } from './mj.controller';
import { MjService } from './mj.service';

@Module({
  imports: [RedisModule, RoomModule,SocketModule,forwardRef(()=>WebSocketGatewayModule)],
  controllers: [MjController],
  providers: [HZMJService,CMMJService,MjService],
  exports: [HZMJService,CMMJService,MjService],
})
export class MJModule {}
